package com.hxkj.service.article;

import com.github.pagehelper.PageInfo;
import com.hxkj.domain.po.UserArticle;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.to.PageTo;

/**
 * 文章收藏Service
 * <p>
 * Created by chenfangzhou on 2018/8/13.
 */
public interface ArticleCollectionService {


    ResultMessageStruct collectArticle(UserArticle userArticle) throws Exception;

    ResultMessageStruct cancelCollectArticle(UserArticle userArticle) throws Exception;

    PageInfo<UserArticle> getCollectionList(UserArticle userArticle, PageTo pageParam) throws Exception;
}
